<h2 class="fl orange txt_indent20 mgb0 lighter">Activities travelers recommend</h2>
<div class="item mgt10 pdt5 pdb5 txt_indent20" style="box-shadow:0 0 1px #000 inset;">
  <div class="fl pdt4"><?php echo count($topactivities) ?> of <?php echo $activities_trv_rcmd["total"]; ?> shown</div>
  <div class="fl pdt4 pdl66">Name&nbsp;&nbsp;</div>
  <input name="" type="text" class="bder_d5 mgt1 w176 fl">
  <div class="fl pdt4 pdl66">Sort by&nbsp;&nbsp;</div>
  <select class="bder_d5 mgt1 w74 fl">
    <option>Ranking</option>
  </select>
  <div class="fr"><img src="<?php echo base_url(); ?>public/images/arrow_01.jpg" onclick="LeftClick('spnop_ATR','sptotalpage_ATR','boxoutsize_ATR','getajax_activitiestravelerrecommend');" width="10" height="15" class="fl mgt4 mgr-50 cursor_poiter pst_relative zindex10" /><span class="fl gray f18 mgl-5"><span id="spnop_ATR">1</span>&nbsp;/&nbsp;<span id="sptotalpage_ATR"><?php echo $activities_trv_rcmd["total"]/3; ?></span>&nbsp;</span><img src="<?php echo base_url(); ?>public/images/arrow_03.png" width="9" height="15" class=" fl mgt4 cursor_poiter" onclick="RightClick('spnop_ATR','sptotalpage_ATR','boxoutsize_ATR','getajax_activitiestravelerrecommend',activities);"/></div>
</div>
<div class="item mgt9 pdt15 pdb3 ov_fl_hidden h232" style="box-shadow:0 0 1px #000 inset;">
  <div class="item pst_relative zindex10" id="boxoutsize_ATR">
    <?php 
if(count($topactivities)>0){
foreach($topactivities as $listactivities){?>
    <div class="fl w269 pdl20">
      <h1 class="ff_museo700 mgt0 blue f16 lheight16"><?php echo $listactivities["name"] ?>, 
        <span class="gray ff_museo500 lighter"><?php echo $listactivities["provide"] ?></span> </h1>
      <div class="item h100 ov_fl_hidden">
        <div class="fl w98 txt_center f11"><img alt="Activities travelers recommend - <?php echo $listactivities["name"]." - ".$listactivities["provide"] ?>" title="" src="/BestofMyanmar/public/images/banner2_03.jpg<?php //echo $listactivities["avatar"] ?>" width="98" height="75" class="fl pdb10" /><!--<a href="#" class="clr_2e5c96">Visitor photos (22)</a>--></div>
        <div class="fr w165">
          <!--<p class="clr_2e5c96 mgt0 h76 ov_fl_hidden"><?php echo $listactivities["promotion"]; ?></p>-->
          <div class="fl pdt1">
          	<?php for($i=1;$i<=$listactivities["acitivitystar"];$i++){?>
				<img src="<?php echo base_url(); ?>public/images/star_01.png" width="12" height="11" class="pdr4"/>
			<?php }if($listactivities["acitivitystar"]<5){
					for($i=$listactivities["acitivitystar"];$i<5;$i++){?>
						<img src="<?php echo base_url(); ?>public/images/hidden-star-05.png" width="12" height="11" class="pdr4"/>
					<?php }
				}?>
          </div>
          &nbsp;<?php echo count($listactivities["review"]); ?> reviews</div>
      </div>
      <!--<p class="f11 mgt18 mgb10 item">Category: <?php echo $listactivities["category"]; ?><br>
        Owner description: <?php echo $listactivities["description"]; ?><a href="#" class="clr_2e5c96">more &raquo;</a></p>-->
    </div>
    <?php }}?>
  </div>
</div>
<script>
	var activities=Array();
	for(var i=1;i<=1000;i++){		
		activities[i]=false;
	}
	activities[1]=true;
</script>